home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / gadgets / clicktab.m < prev    next >
Encoding:
Text File  |  2001-10-28  |  2.3 KB  |  56 lines

  1. /*
  2. **  $VER: clicktab.h 44.1 (19.10.1999)
  3. **  Includes Release 44.1
  4. **
  5. **  Definitions for the clicktab.gadget BOOPSI class
  6. **
  7. **  (C) Copyright 1987-1999 Amiga, Inc.
  8. **      All Rights Reserved
  9. */
  10. /*****************************************************************************/
  11. //MODULE 'reaction/reaction','intuition/gadgetclass'
  12. /*****************************************************************************/
  13. /* Defines for the clicktab node attributes.
  14.  */
  15. #define TNA_Dummy     (TAG_USER+0x10000)
  16. #define TNA_UserData  (TNA_Dummy+1)
  17. /* (APTR) user data, have a blast. */
  18. #define TNA_Enabled     (TNA_Dummy+2) /* was never implemented, now obsolete! */
  19. #define TNA_Spacing     (TNA_Dummy+3) /* obsolete! */
  20. #define TNA_Highlight   (TNA_Dummy+4) /* obsolete! */
  21. #define TNA_Image     (TNA_Dummy+5)
  22. /* (strcut Image *) render image pointer. */
  23. #define TNA_SelImage  (TNA_Dummy+6)
  24. /* (struct Image *) select image pointer. */
  25. #define TNA_Text    (TNA_Dummy+7)
  26. /* (STRPTR) tab text label string pointer. */
  27. #define TNA_Number    (TNA_Dummy+8)
  28. /* (WORD) numeric ID assignment for tab. */
  29. #define TNA_TextPen     (TNA_Dummy+9)
  30. /* (WORD) Text pen ID to render tab text. */
  31. #define TNA_Disabled    (TNA_Dummy+10)
  32. /* (BOOL) Is this button disabled?. (V42) */
  33. /*****************************************************************************/
  34. /* Additional attributes defined by the clicktab.gadget class
  35.  */
  36. #define CLICKTAB_Dummy        (REACTION_Dummy + 0x27000)
  37. #define CLICKTAB_Labels         (CLICKTAB_Dummy+1)
  38. /* (struct List *) button list */
  39. #define CLICKTAB_Current      (CLICKTAB_Dummy+2)
  40. /* (WORD) Currently selected tab id# */
  41. #define CLICKTAB_CurrentNode    (CLICKTAB_Dummy+3)
  42. /* (struct TabNode *) Currently selected tab node */
  43. #define CLICKTAB_Orientation    (CLICKTAB_Dummy+4)
  44. /* (WORD) Horizontal/Vertical/Flip mode - **Not Implemented!** */
  45. #define CLICKTAB_PageGroup      (CLICKTAB_Dummy+5)
  46. /* (Object *) Embedded PageObject child pointer. (V42) */
  47. #define CLICKTAB_PageGroupBackFill  (CLICKTAB_Dummy+6)
  48. /* (Object *) Embedded PageObject + selected ClickTab backfill pointer. (V42) */
  49. /*****************************************************************************/
  50. /* CLICKTAB_Orientation Modes
  51.  */
  52. #define CTORIENT_HORIZ    0
  53. #define CTORIENT_VERT     1
  54. #define CTORIENT_HORIZFLIP  2
  55. #define CTORIENT_VERTFLIP   3
  56.